ToolCard.tsx ➔ ToolCard   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 7
c 0
b 0
f 0
rs 10
cc 1
1
import React from "react";
2
3
interface ToolCardProps {
4
  name: string;
5
  content: React.ReactNode;
6
}
7
8
export default function ToolCard({ name, content }: Props) {
9
  return (
10
    <div className="tool-card">
11
      <h2>{name}</h2>
12
      {content}
13
    </div>
14
  );
15
}